import http from '@/utils/http'

//获取轮播图数据
export const getBannerListAPI = ()=>{
return  http.get('/api/banner/list')
}

//获取秒杀商品数据
export const getSecKillListAPI = ()=>{
  return  http.get('/api/pro/seckilllist')
  }

  //获取推荐商品数据
  export const getRecommendListAPI = (count:any=1,limitNum:any=12)=>{
    return  http.get('/api/pro/recommendlist',{
     params:{
      count,
      limitNum
     }}
    )}

  

  